<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="table-responsive">
<table class="cntable table table-bordered dataTable table-shareBrokerage">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
						
			<th style="width:130px">客户编号</th>
			<th style="width:100px">客户名</th>
	
			<th style="width:100px">记录日期</th>
			<th style="width:100px">犹豫期</th>
			<th style="width:100px">保险公司名称</th>
			<th style="width:100px">车牌号</th>
			<th style="width:100px">车型名称</th>
			
			<th style="width:100px">车辆性质</th>
			
			<th style="width:100px">总保费</th>
			<th style="width:100px">商业险保费</th>
			<th style="width:100px">交强险保费</th>	
						
			<th style="width:100px">任务号</th>
			<th style="width:100px">交强险保单号</th>
			<th style="width:100px">商业险保单号</th>		
			
			<th style="width:100px">分润比例</th>
			<th style="width:100px">扣税后保费</th>
			<th style="width:100px">币种</th>
			
			<th style="width:100px">确认操作</th>
			<th style="width:100px">确认状态</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="carBrokerageRecord" items="${carBrokerageRecords}" varStatus="status">
			<tr data-id="${carBrokerageRecord.id}">
				<td>${status.index+1}</td>
				
				<td>${carBrokerageRecord.userIdentity}</td>
				<td>${carBrokerageRecord.customerName}</td>
				
				
				<td>
					<fmt:formatDate value="${carBrokerageRecord.recordDate}" type="date" dateStyle="default" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>${carBrokerageRecord.heisitateDate}天</td>
				<td>${carBrokerageRecord.companyName}</td>
				<td>${carBrokerageRecord.carNo}</td>
				<td>${carBrokerageRecord.carName}</td>
				
				<td>
					<t:provider packageName="insu" enumClassName="FanhuaCarProperty" value="${carBrokerageRecord.carProperty}"/>
				</td>
				
				<td>${carBrokerageRecord.brokerage}</td>
				<td>${carBrokerageRecord.bizInsureInfo}</td>
				<td>${carBrokerageRecord.efcInsureInfo}</td>
				
				<td>${carBrokerageRecord.taskId}</td>
				<td>${carBrokerageRecord.efcInsureInfoPolicyNo}</td>
				<td>${carBrokerageRecord.bizInsureInfoPolicyNo}</td>
				<td>${carBrokerageRecord.broPercent}</td>
				<td>${carBrokerageRecord.taxPercent}</td>	
				<td>${carBrokerageRecord.currency}</td>
				
				<td>
					<c:if test="${carBrokerageRecord.confirmState eq 'unConfirm'}">
						<ul class="icons-list">
							<li><a href="javascript:onConfirm('${carBrokerageRecord.id}')" title="点击确认"><i class="icon-checkmark-circle2 text-primary"></i></a></li>
						</ul>
					</c:if>
				</td>
				<td>
					<c:if test="${carBrokerageRecord.confirmState eq 'unConfirm'}">待确认
					</c:if>
					<c:if test="${carBrokerageRecord.confirmState eq 'confirmed'}">已确认
					</c:if>
				</td>
				
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th absolute-pos">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>
</div>
